package com.jiang.dao;

import com.jiang.entity.Admin;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

public interface AdminMapper extends Mapper<Admin> {
        //查询
    public List<Map<String,Object>> show();
    //登录
    public Admin login(@Param("account")String account,@Param("password")String password);
}